package com.powernode.hystrix;

import com.powernode.clients.MemberClient;
import com.powernode.domain.UserAddr;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class MemberClientHystrix implements MemberClient {
    @Override
    public UserAddr getUserDefaultAddr(String userId) {
        log.error("订单服务调用会员服务获取会员地址出错");
        return null;
    }
}
